//
//  XMGFoundCell.m
//  weibo
//
//  Created by Apple on 16/7/3.
//  Copyright © 2016年 DP. All rights reserved.
//

#import "XMGFoundCell.h"
#import "XMGFoundItem.h"

@interface XMGFoundCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *subNameLabel;


@end
@implementation XMGFoundCell

 -(void)setFoundtem:(XMGFoundItem *)Foundtem
{
    _Foundtem = Foundtem;
    self.iconImageView.image = [UIImage imageNamed:Foundtem.iconImage];
    self.nameLabel.text = Foundtem.title;
    self.subNameLabel.text = Foundtem.subTitle;
}

@end
